/**
 * @file index.css
 * @author swan
 */
@import "/style/iconfont.css";
@import "/style/style.css";
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    height: 100%;
}
.wrap {
    font-size: 0.16rem;
}
.swiper-wrap {
    width: 100%;
    margin: 0rem auto;
}
.item {
    width: 100%;
    height: 170px;
    font-size: 0.16rem;
    color: #fff;
    text-align: center;
    line-height: 170px;
}
swan-swiper {
    height: 230px;
}

.switch-wrap {
    padding: 0 0.17rem;
    background: #fff;
    margin: 0.2rem 0;
}
.switch-wrap > view {
    height: 0.48rem;
    line-height: 0.48rem;
    color: #000;
    font-size: 0.18rem;
    border-bottom: 1px #f5f5f5 solid;
    position: relative;
}
.switch {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.slider-wrap > view {
    height: 100%;
    padding: 0 0.17rem;
}
.slider-title-time {
    overflow: hidden;
    padding: 0.2rem 0 0.1rem;
}
.slider-title,
.slider-time {
    font-size: 0.16rem;
    color: #666;
    line-height: 0.25rem;
}
.slider-title {
    float: left;
}
.slider-time {
    float: right;
    margin-right: 0.1rem;
}
.notice-box {
    width: 91%;
    padding: 4% 2%;
    margin: 0 auto;
}
.notice-content {
    box-shadow: 1px 1px 6px #eaeaea, -1px -1px 6px #eaeaea;
    padding: 2% 15%;
}
.notice-title {
    font-size: 16px;
    font-weight: bold;
    display: block;
}
.notice-txt {
    font-size: 13px;
    color: #929292;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 6px;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.msg {
    left: 3%;
    font-size: 23px;
    top: 17px;
    color: #000;
}
.arr {
    right: 3%;
    font-size: 16px;
    top: 21px;
    color: #929292;
}
.goods-box {
    padding: 0 10px 10px 10px;
}

.goods-box .title {
    font-size: 16px !important;
    border-left: 3px solid #ff3c78;
    font-weight: bold;
    padding-left: 0.4rem;
}

.jingping {
    border-color: #46caff;
}

.goods-box .nav-link {
    font-size: 13px;
    color: #929292;
}

.goods-box .nav-link .icon-right {
    color: #4dccf6;
    vertical-align: top;
    font-size: 15px;
    margin-left: 0.3rem;
    margin-right: 0.2rem;
}
.hot-goods-box {
    padding: 3% 0;
}
.hot-goods-part {
    width: 49%;
}

.hot-goods-box .goods-name {
    position: absolute;
    bottom: 5px;
    left: 10px;
    color: #fff;
    z-index: 999;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-box .goods-name text {
    display: block;
}

.hot-goods-box .goods-name .price {
    color: #ff7902;
    font-weight: bold;
}

.hot-goods-box .back {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
    z-index: 998;
    width: 100%;
    height: 25px;
    opacity: 0.5;
}

.discount-game-box .goods-name {
    color: #000;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discount-game-box .price {
    color: #ff7902;
    font-weight: bold;
}

.goods-box .hot-goods-part .default-icon {
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
}
.goods-box .hot-goods-part.part1 .default-icon {
    padding-top: 92%;
}

.goods-box .hot-goods-part.part2 .default-icon {
    padding-top: 44%;
}

.goods-box .hot-goods-part.part2 .default-icon:first-child {
    margin-bottom: 4%;
}
.hot-goods-box .default-icon .goods-name text{
    display: inline-block;
}
.hot-goods-box .default-icon .goods-name .name{
    display: inline-block;
    width: 200rpx;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    float: left;
}
.hot-goods-box .default-icon .goods-name .price{
    float: right;
    margin-left: 11px;
}
.goods-box .hot-goods-part .default-icon image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.discount-game-box {
    padding: 3% 0;
}

.discount-game-box .discount-game-part {
    width: 49%;
    margin-bottom: 2%;
}

.discount-game-box .discount-game-part .default-icon {
    padding-top: 44%;
    background-color: #eff1f3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
}
.discount-game-box .discount-game-part .default-icon image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}
.discount-game-box .discount-game-part:nth-child(odd) {
    margin-right: 2%;
}
.original_price {
    text-decoration: line-through;
    font-size: 12px;
    color: #afafaf;
    margin-left: 5px;
}
